package cm.word.generate.pojo;

/**
 * @author caomin
 * @date 2018/5/7
 * @说明 word返回字段
 */
public class PgsqlWordDto {
    /**
     * 字段名  ：name
     */
    private String columnName;
    /**
     * 字段类型： int4
     */
    private String columnType;
    /**
     * 字段长度：12
     */
    private String columnLength;


    /**
     * 是否为主键
     */
    private boolean sfPri;
    /**
     * 是否自增
     */
    private String zz;

    /**
     * 是否有为空约束
     */
    private boolean sfNull;

    /**
     * 注释
     */
    private String bz;
    /**
     * 默认值
     */
    private String hasDefault;

    public String getZz() {
        return zz;
    }

    public void setZz(String zz) {
        this.zz = zz;
    }

    public boolean isSfPri() {
        return sfPri;
    }

    public void setSfPri(boolean sfPri) {
        this.sfPri = sfPri;
    }

    public String getHasDefault() {
        return hasDefault;
    }

    public void setHasDefault(String hasDefault) {
        this.hasDefault = hasDefault;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getColumnType() {
        return columnType;
    }

    public void setColumnType(String columnType) {
        this.columnType = columnType;
    }

    public String getColumnLength() {
        return columnLength;
    }

    public void setColumnLength(String columnLength) {
        this.columnLength = columnLength;
    }

    public boolean isSfNull() {
        return sfNull;
    }

    public void setSfNull(boolean sfNull) {
        this.sfNull = sfNull;
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }
}

